/*
 * DOMClone - consists of a DOM Clone object and related 
 * 			methods
 *
 * Copyright (c) 2008 Varun Kumar Reddy Dodla
 * Licensed under GPL (GPL-LICENSE.txt)
 *
 * $Date: 2008-10-26 
 */


function DOMClone(element) {
	this.DOMEl = element;
	this.iNodes = $("*", element).length;
	this.iHidden = $("hidden", element).length;
}

/**
 * will represent a dependency
 */
function Dependency(index, name, attr1, attr2, attr3, deType, sComments) {
	this.formIdx = index;
	this.formName = name;
	this.testAttr = attr1;
	this.actualAttr = attr2;
	this.currentAttr = attr3;
	this.type = deType;
	this.comments = sComments;
}